package cn.rxyb.desgin.chainofreponsibilit;

/**
 * @author YJH
 * @version 1.0
 * @description 抽象的处理角色
 * @date 2020/7/6 13:34
 */
public abstract class Handler {

    private Handler next;

    public Handler getNext() {
        return next;
    }

    public void setNext(Handler next) {
        this.next = next;
    }

    // 处理的请求方法
    public abstract void HandleRequest(String request);
}
